# -*- coding: utf-8 -*-
import time,os

#os.system("clear")
#os.system("apt install figlet")
os.system("clear")
os.system("figlet time")
#print("\n*******************\n作者:魔帝叶竹轩\n联系方式:QQ(2162626024)\n作者gitee地址:https://gitee.com/mdyzx\n按回车可记录时间\n*******************\n\n")
etime = 0
starttime = 0
mtime = 0
stime = 0
ttime = 0
try:
	while True:
	    print('已计时: {:02d}:{:02d}:{:02d}:{:02d}:{:02d}'.format(ttime, stime, mtime, starttime, etime), end="\r")
	    time.sleep(0.01)
	    etime += 1
	    if etime == 100:
	        starttime += 1
	        etime = 0
	        if starttime == 60:
	            mtime += 1
	            starttime = 0
	            if mtime == 60:
	                stime += 1
	                mtime = 0
	                if stime == 24:
	                    ttime += 1
	                    stime = 0
except:
	pass
